<template>
  <div class="question">
    <!-- 我的提问页面 -->
    <div class="question-header">
      <van-icon name="arrow-left" size="20px" color="#777" @click="changeToback" />
      <b>我的提问</b>
      <span></span>
    </div>
    <div class="question-main"></div>
  </div>
</template>

<script>
export default {
  methods: {
    changeToback() {
      this.$router.go("-1");
    }
  }
};
</script>

<style scoped>
.question {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.question-header {
  width: 100%;
  height: 40px;
  line-height: 40px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ccc;
  padding-left: 10px;
}
.van-icon-arrow-left {
  line-height: 50px;
}
.question-main {
  flex: 1;
  overflow-y: scroll;
}
</style>